package com.kay.springboot_es_api.domain;

/**
 * Created by Kay on 2018/11/5
 */
public class Filters {
    //性别
    private String sex;
    //年龄
    private String age;
    //区域
    private String region;
    // 疾病
    private String disease;
    // 药品
    private String medical;
    // 就诊时间
    private String dignosisTime;
    //排序
    private String sortColumn;

    private String sortOrder;  // 升序降序   asc|desc
    // 分页 第几页
    private Long currentPage;
    // 每页大小
    private Long pageSize;

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getAge() {
        return age;
    }

    public void setAge(String age) {
        this.age = age;
    }

    public String getRegion() {
        return region;
    }

    public void setRegion(String region) {
        this.region = region;
    }

    public String getDisease() {
        return disease;
    }

    public void setDisease(String disease) {
        this.disease = disease;
    }

    public String getMedical() {
        return medical;
    }

    public void setMedical(String medical) {
        this.medical = medical;
    }

    public String getDignosisTime() {
        return dignosisTime;
    }

    public void setDignosisTime(String dignosisTime) {
        this.dignosisTime = dignosisTime;
    }

    public String getSortColumn() {
        return sortColumn;
    }

    public void setSortColumn(String sortColumn) {
        this.sortColumn = sortColumn;
    }

    public String getSortOrder() {
        return sortOrder;
    }

    public void setSortOrder(String sortOrder) {
        this.sortOrder = sortOrder;
    }

    public Long getCurrentPage() {
        return currentPage;
    }

    public void setCurrentPage(Long currentPage) {
        this.currentPage = currentPage;
    }

    public Long getPageSize() {
        return pageSize;
    }

    public void setPageSize(Long pageSize) {
        this.pageSize = pageSize;
    }

    @Override
    public String toString() {
        return "Filters{" +
                "sex='" + sex + '\'' +
                ", age='" + age + '\'' +
                ", region='" + region + '\'' +
                ", disease='" + disease + '\'' +
                ", medical='" + medical + '\'' +
                ", dignosisTime='" + dignosisTime + '\'' +
                ", sortColumn='" + sortColumn + '\'' +
                ", sortOrder='" + sortOrder + '\'' +
                ", currentPage=" + currentPage +
                ", pageSize=" + pageSize +
                '}';
    }
}
